package com.imut.hcdp.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.imut.hcdp.mapper.HcdpRoleMapper;
import com.imut.hcdp.domain.HcdpRole;
import com.imut.hcdp.service.IHcdpRoleService;


@Service
public class HcdpRoleServiceImpl implements IHcdpRoleService
{
    @Autowired
    private HcdpRoleMapper hcdpRoleMapper;


    @Override
    public HcdpRole selectHcdpRoleById(Long id)
    {
        return hcdpRoleMapper.selectHcdpRoleById(id);
    }


    @Override
    public List<HcdpRole> selectHcdpRoleList(HcdpRole hcdpRole)
    {
        return hcdpRoleMapper.selectHcdpRoleList(hcdpRole);
    }


    @Override
    public int insertHcdpRole(HcdpRole hcdpRole)
    {
        return hcdpRoleMapper.insertHcdpRole(hcdpRole);
    }


    @Override
    public int updateHcdpRole(HcdpRole hcdpRole)
    {
        return hcdpRoleMapper.updateHcdpRole(hcdpRole);
    }


    @Override
    public int deleteHcdpRoleByIds(Long[] ids)
    {
        return hcdpRoleMapper.deleteHcdpRoleByIds(ids);
    }


    @Override
    public int deleteHcdpRoleById(Long id)
    {
        return hcdpRoleMapper.deleteHcdpRoleById(id);
    }
}
